/*
 * 代号：凤凰
 * http://www.jphenix.org
 * 2022年9月2日
 * V4.0
 */
package javax.servlet;

import java.io.BufferedReader;
import java.io.IOException;
import java.util.Enumeration;
import java.util.Locale;
import java.util.Map;

/**
 * 【假类】用于辅助框架包编译通过
 * @author MBG
 * 2022年9月2日
 */
public interface ServletRequest {

    Object getAttribute(String name);
    Enumeration<String> getAttributeNames();
    String getCharacterEncoding();
    void setCharacterEncoding(String env) throws java.io.UnsupportedEncodingException;
    int getContentLength();
    long getContentLengthLong();
    String getContentType();
    ServletInputStream getInputStream() throws IOException;
    String getParameter(String name);
    Enumeration<String> getParameterNames();
    String[] getParameterValues(String name);
    Map<String, String[]> getParameterMap();
    String getProtocol();
    String getScheme();
    String getServerName();
    int getServerPort();
    BufferedReader getReader() throws IOException;
    String getRemoteAddr();
    String getRemoteHost();
    void setAttribute(String name, Object o);
    void removeAttribute(String name);
    Locale getLocale();
    Enumeration<Locale> getLocales();
    boolean isSecure();
    RequestDispatcher getRequestDispatcher(String path);
    @Deprecated
    String getRealPath(String path);
    int getRemotePort();
    String getLocalName();
    String getLocalAddr();
    int getLocalPort();
    ServletContext getServletContext();
    AsyncContext startAsync() throws IllegalStateException;
    AsyncContext startAsync(ServletRequest servletRequest,ServletResponse servletResponse) throws IllegalStateException;
    boolean isAsyncStarted();
    boolean isAsyncSupported();
    AsyncContext getAsyncContext();
    DispatcherType getDispatcherType();
}
